package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 类型表
 * </p>
 *
 * @author lcc
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BmsBusinessType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类型id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 类型名称
     */
    private String typeName;

    /**
     * 创建时间
     */
    private LocalDateTime newTime;

    /**
     * 使用次数
     */
    private Integer useTotal;

    /**
     * 行业id
     */
    private Integer industryId;

    /**
     * 行业代码 主要创建小程序使用
     */
    private Integer industryCode;

    /**
     * 背景颜色
     */
    private String backColor;

    /**
     * 字体颜色
     */
    private String fontColor;

    /**
     * 是否删除（1删除）
     */
    private Integer isDelete;


    public static final String ID = "id";

    public static final String TYPE_NAME = "type_name";

    public static final String NEW_TIME = "new_time";

    public static final String USE_TOTAL = "use_total";

    public static final String INDUSTRY_ID = "industry_id";

    public static final String INDUSTRY_CODE = "industry_code";

    public static final String IS_DELETE = "is_delete";

}
